<template>
	<view class="location-warp">
		<view class="location-info">
			<view style="font-size: 28rpx;">位置</view>
			<view class="address-txt">{{address}}</view>
		</view>
		<view class="map-icon"><image src="@/static/images/map-icon.png" mode="aspectFit"></image></view>
	</view>
</template>

<script>
	export default{
		props:['address']
	}
</script>

<style scoped lang="scss">
	.location-warp{
		width: 100%;
		height: 142rpx;
		border: 1rpx dashed #333;
		margin: 42rpx auto;
		padding: 22rpx 18rpx;
		box-sizing: border-box;
		display: flex;
		justify-content: space-between;
		align-items: center;
		.location-info{
			.address-txt{
				margin-top: 16rpx;
				font-size: 24rpx;
				color: #636363;
			}
		}
		.map-icon{
			width: 27rpx;
			height: 34rpx;
			margin-right: 20rpx;
			image{
				width: 100%;
				height: 100%;
			}
		}
	}
</style>